projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5cbe1e
)
board: nios2: Add CONFIG_CFI_FLASH_MTD guard to flash.h header include
author
Ezequiel Garcia
<
[email protected]
>
Fri, 20 Dec 2013 21:34:53 +0000
(18:34 -0300)
committer
Tom Rini
<
[email protected]
>
Tue, 14 Jan 2014 14:01:05 +0000
(09:01 -0500)
Signed-off-by: Ezequiel Garcia <
[email protected]
>
board/altera/nios2-generic/nios2-generic.c
patch
|
blob
|
history
diff --git
a/board/altera/nios2-generic/nios2-generic.c
b/board/altera/nios2-generic/nios2-generic.c
index 5c5b1b9148875158bc26273f0c840c1443c4d585..aa126d71bc50a5f90695d25957a3f5b5cd2bc530 100644
(file)
--- a/
board/altera/nios2-generic/nios2-generic.c
+++ b/
board/altera/nios2-generic/nios2-generic.c
@@
-8,7
+8,9
@@
#include <common.h>
#include <netdev.h>
+#if defined(CONFIG_CFI_FLASH_MTD)
#include <mtd/cfi_flash.h>
+#endif
#include <asm/io.h>
#include <asm/gpio.h>